﻿"use strict";

function indexController($scope, AJAXFactory) {
    AJAXFactory.get("/api/ArtMuseum/Get").then(
        function (data) { // On success
            $scope.indexCascade = data
        },
        function (data) { // On error
            console.log("error: " + data);
        })
}

indexController.$inject = ["$scope", "AJAXFactory"];